import javax.swing.JFrame;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.JLabel;
import javax.swing.JComboBox;
import javax.swing.JButton;
import javax.swing.border.EmptyBorder;

import java.awt.Font;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.JTextPane;
import javax.swing.JTextArea;
import javax.swing.DropMode;
import javax.swing.SwingConstants;
import javax.swing.JScrollBar;
import javax.swing.JSpinner;
import java.awt.TextArea;
import java.awt.Color;
import java.util.Iterator;


public class KlientGUI extends JFrame {
	static JTextField imie;
	static JTextField textField;
	static JTextField textField_1;
	static JTextField textField_2;
	static JTextField textField_3;
	 static JTextPane textPane ;
	 
	public KlientGUI() {
		
		final Engine engine=new Engine();
		
		setTitle("Karta Klienta");
		setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
		setBounds(100, 100, 706, 510);
		JPanel contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		imie = new JTextField();
		imie.setFont(new Font("Tahoma", Font.PLAIN, 13));
		imie.setBackground(Color.LIGHT_GRAY);
		imie.setForeground(Color.BLUE);
		imie.setEditable(false);
		imie.setBounds(107, 92, 123, 20);
		getContentPane().add(imie);
		imie.setColumns(10);

		
		JLabel lblTypTowaru = new JLabel("Nazwisko:");
		lblTypTowaru.setFont(new Font("Tahoma", Font.PLAIN, 14));
		lblTypTowaru.setBounds(28, 92, 83, 17);
		getContentPane().add(lblTypTowaru);
		
		textField = new JTextField();
		textField.setForeground(Color.BLUE);
		textField.setFont(new Font("Tahoma", Font.PLAIN, 13));
		textField.setEditable(false);
		textField.setColumns(10);
		textField.setBackground(Color.LIGHT_GRAY);
		textField.setBounds(107, 142, 123, 20);
		contentPane.add(textField);
		
		JLabel lblPesel = new JLabel("Pesel:");
		lblPesel.setFont(new Font("Tahoma", Font.PLAIN, 14));
		lblPesel.setBounds(28, 142, 83, 17);
		contentPane.add(lblPesel);
		
		textField_1 = new JTextField();
		textField_1.setForeground(Color.BLUE);
		textField_1.setFont(new Font("Tahoma", Font.PLAIN, 13));
		textField_1.setEditable(false);
		textField_1.setColumns(10);
		textField_1.setBackground(Color.LIGHT_GRAY);
		textField_1.setBounds(376, 74, 264, 20);
		contentPane.add(textField_1);
		
		JLabel lblNumerKonta = new JLabel("Numer konta:");
		lblNumerKonta.setFont(new Font("Tahoma", Font.PLAIN, 14));
		lblNumerKonta.setBounds(265, 75, 112, 17);
		contentPane.add(lblNumerKonta);
		
		textField_2 = new JTextField();
		textField_2.setForeground(Color.BLUE);
		textField_2.setFont(new Font("Tahoma", Font.PLAIN, 13));
		textField_2.setEditable(false);
		textField_2.setColumns(10);
		textField_2.setBackground(Color.LIGHT_GRAY);
		textField_2.setBounds(376, 117, 123, 20);
		contentPane.add(textField_2);
		
		JLabel lblStanKonta = new JLabel("Stan konta:");
		lblStanKonta.setFont(new Font("Tahoma", Font.PLAIN, 14));
		lblStanKonta.setBounds(265, 117, 83, 17);
		contentPane.add(lblStanKonta);
		
		textField_3 = new JTextField();
		textField_3.setForeground(Color.BLUE);
		textField_3.setFont(new Font("Tahoma", Font.PLAIN, 13));
		textField_3.setEditable(false);
		textField_3.setColumns(10);
		textField_3.setBackground(Color.LIGHT_GRAY);
		textField_3.setBounds(107, 48, 123, 20);
		contentPane.add(textField_3);
		
		JLabel label_3 = new JLabel("Imi\u0119:");
		label_3.setFont(new Font("Tahoma", Font.PLAIN, 14));
		label_3.setBounds(28, 48, 83, 17);
		contentPane.add(label_3);
		
		textPane = new JTextPane();
		textPane.setBackground(Color.LIGHT_GRAY);
		textPane.setEditable(false);
		textPane.setBounds(60, 251, 584, 182);
		contentPane.add(textPane);
		
		JLabel lblGhjkj = new JLabel("Transakcje klienta:");
		lblGhjkj.setBounds(60, 216, 182, 26);
		contentPane.add(lblGhjkj);
	}
}
